home *** CD-ROM | disk | FTP | other *** search
/ Image Compendium / Image Compendium.iso / viewer / dos / gifencod.gif (.png) < prev    next >
Graphics Interchange Format  |  1993-03-11  |  8.1 KB  |  640x350  |  4-bit (4 colors)
   ocr: GIF Encoder Init encoder by Bob Montgomery 1-21-88 Notes: Get parent color == color Get Parent ist is color 1st color 1. - son is chillolparent. 2.bro(ther) is siblperson] person = son. or. bro 3. nvc == next valid code Get color 4.1 Init encoder: son childlparent] All children == 0 All sibclings) = 0 X Does parent have a son? Codesize = bits/pixel + 1 son Clear code == 1< bits/pixel >0? - ls son right color? End code = clear code + 1 - A min code == end code + 1 N VCreate one ShadelsonsN max code = clear code << 1 childlparentJ = nvc - color shadeunucy == color bro 1 son Makes IOOP easier BUT ...